﻿using System;
using System.Collections.Generic;
using AutoR.Helpers;
using AutoR.Services;
using Newtonsoft.Json;

namespace AutoR.Models
{
	// Token: 0x020001D8 RID: 472
	public class ShipConfig
	{
		// Token: 0x17000271 RID: 625
		// (get) Token: 0x06000992 RID: 2450 RVA: 0x0006AD50 File Offset: 0x00068F50
		// (set) Token: 0x06000993 RID: 2451 RVA: 0x0006AD58 File Offset: 0x00068F58
		public int cid { get; set; }

		// Token: 0x17000272 RID: 626
		// (get) Token: 0x06000994 RID: 2452 RVA: 0x0006AD61 File Offset: 0x00068F61
		// (set) Token: 0x06000995 RID: 2453 RVA: 0x0006AD69 File Offset: 0x00068F69
		public int star { get; set; }

		// Token: 0x17000273 RID: 627
		// (get) Token: 0x06000996 RID: 2454 RVA: 0x0006AD72 File Offset: 0x00068F72
		// (set) Token: 0x06000997 RID: 2455 RVA: 0x0006AD7A File Offset: 0x00068F7A
		public string title { get; set; }

		// Token: 0x17000274 RID: 628
		// (get) Token: 0x06000998 RID: 2456 RVA: 0x0006AD83 File Offset: 0x00068F83
		// (set) Token: 0x06000999 RID: 2457 RVA: 0x0006AD8B File Offset: 0x00068F8B
		public ShipType type { get; set; }

		// Token: 0x17000275 RID: 629
		// (get) Token: 0x0600099A RID: 2458 RVA: 0x0006AD94 File Offset: 0x00068F94
		// (set) Token: 0x0600099B RID: 2459 RVA: 0x0006AD9C File Offset: 0x00068F9C
		public string picId { get; set; }

		// Token: 0x17000276 RID: 630
		// (get) Token: 0x0600099C RID: 2460 RVA: 0x0006ADA5 File Offset: 0x00068FA5
		// (set) Token: 0x0600099D RID: 2461 RVA: 0x0006ADAD File Offset: 0x00068FAD
		public bool npc { get; set; }

		// Token: 0x17000277 RID: 631
		// (get) Token: 0x0600099E RID: 2462 RVA: 0x0006ADB6 File Offset: 0x00068FB6
		// (set) Token: 0x0600099F RID: 2463 RVA: 0x0006ADBE File Offset: 0x00068FBE
		[JsonConverter(typeof(BoolConverter))]
		public bool canEvo { get; set; }

		// Token: 0x17000278 RID: 632
		// (get) Token: 0x060009A0 RID: 2464 RVA: 0x0006ADC7 File Offset: 0x00068FC7
		// (set) Token: 0x060009A1 RID: 2465 RVA: 0x0006ADCF File Offset: 0x00068FCF
		public int evoCid { get; set; }

		// Token: 0x17000279 RID: 633
		// (get) Token: 0x060009A2 RID: 2466 RVA: 0x0006ADD8 File Offset: 0x00068FD8
		// (set) Token: 0x060009A3 RID: 2467 RVA: 0x0006ADE0 File Offset: 0x00068FE0
		public int evoClass { get; set; }

		// Token: 0x1700027A RID: 634
		// (get) Token: 0x060009A4 RID: 2468 RVA: 0x0006ADE9 File Offset: 0x00068FE9
		// (set) Token: 0x060009A5 RID: 2469 RVA: 0x0006ADF1 File Offset: 0x00068FF1
		public int evoLevel { get; set; }

		// Token: 0x1700027B RID: 635
		// (get) Token: 0x060009A6 RID: 2470 RVA: 0x0006ADFA File Offset: 0x00068FFA
		// (set) Token: 0x060009A7 RID: 2471 RVA: 0x0006AE02 File Offset: 0x00069002
		public int evoToCid { get; set; }

		// Token: 0x1700027C RID: 636
		// (get) Token: 0x060009A8 RID: 2472 RVA: 0x0006AE0B File Offset: 0x0006900B
		// (set) Token: 0x060009A9 RID: 2473 RVA: 0x0006AE13 File Offset: 0x00069013
		public float repairTime { get; set; }

		// Token: 0x1700027D RID: 637
		// (get) Token: 0x060009AA RID: 2474 RVA: 0x0006AE1C File Offset: 0x0006901C
		// (set) Token: 0x060009AB RID: 2475 RVA: 0x0006AE24 File Offset: 0x00069024
		public Dictionary<string, int> dismantle { get; set; }

		// Token: 0x1700027E RID: 638
		// (get) Token: 0x060009AC RID: 2476 RVA: 0x0006AE2D File Offset: 0x0006902D
		// (set) Token: 0x060009AD RID: 2477 RVA: 0x0006AE35 File Offset: 0x00069035
		public EquipmentType[] equipmentType { get; set; }

		// Token: 0x1700027F RID: 639
		// (get) Token: 0x060009AE RID: 2478 RVA: 0x0006AE3E File Offset: 0x0006903E
		// (set) Token: 0x060009AF RID: 2479 RVA: 0x0006AE46 File Offset: 0x00069046
		public Strengthen strengthenSupplyExp { get; set; }

		// Token: 0x17000280 RID: 640
		// (get) Token: 0x060009B0 RID: 2480 RVA: 0x0006AE4F File Offset: 0x0006904F
		// (set) Token: 0x060009B1 RID: 2481 RVA: 0x0006AE57 File Offset: 0x00069057
		public Strengthen strengthenTop { get; set; }

		// Token: 0x17000281 RID: 641
		// (get) Token: 0x060009B2 RID: 2482 RVA: 0x0006AE60 File Offset: 0x00069060
		// (set) Token: 0x060009B3 RID: 2483 RVA: 0x0006AE68 File Offset: 0x00069068
		public List<string> mainDialogue { get; set; }

		// Token: 0x17000282 RID: 642
		// (get) Token: 0x060009B4 RID: 2484 RVA: 0x0006AE71 File Offset: 0x00069071
		public string Image
		{
			get
			{
				return Runtime.ResourcePath + "/Drawing/" + this.picId + ".jpg";
			}
		}

		// Token: 0x17000283 RID: 643
		// (get) Token: 0x060009B5 RID: 2485 RVA: 0x0006AE8D File Offset: 0x0006908D
		public string BrokenImage
		{
			get
			{
				return Runtime.ResourcePath + "/Broken/" + this.picId + ".jpg";
			}
		}

		// Token: 0x17000284 RID: 644
		// (get) Token: 0x060009B6 RID: 2486 RVA: 0x0006AEA9 File Offset: 0x000690A9
		public string SmallImage
		{
			get
			{
				return Runtime.ResourcePath + "/Small/" + this.picId + ".jpg";
			}
		}

		// Token: 0x17000285 RID: 645
		// (get) Token: 0x060009B7 RID: 2487 RVA: 0x0006AEC5 File Offset: 0x000690C5
		// (set) Token: 0x060009B8 RID: 2488 RVA: 0x0006AECD File Offset: 0x000690CD
		public bool isHave { get; set; }

		// Token: 0x17000286 RID: 646
		// (get) Token: 0x060009B9 RID: 2489 RVA: 0x0006AED6 File Offset: 0x000690D6
		public bool notHave
		{
			get
			{
				return !this.isHave;
			}
		}
	}
}
